|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwiiusej.test.Tests
public class Tests
This class used to test WiiuseJ in text mode.
| Field Summary | |
|---|---|
private static int |
DISPLAY_EACH_VALUE
|
(package private) int |
dump
|
private static int |
DUMP
|
private static int |
MOVE_MOUSE
|
(package private) java.awt.Robot |
robot
|
private static int |
TEST_LEDS
|
private Wiimote |
wiimote
|
| Constructor Summary | |
|---|---|
Tests(Wiimote wim)
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
void |
onButtonsEvent(WiimoteButtonsEvent e)
Method called on a button Event. |
void |
onDisconnectionEvent(DisconnectionEvent e)
This is the method called when a disconnection event occurs. |
void |
onExpansionEvent(ExpansionEvent e)
Method called when an expansion event occurs. |
void |
onIrEvent(IREvent e)
Method called when an IR event occurs. |
void |
onMotionSensingEvent(MotionSensingEvent e)
Method called when a motion sensing event occurs. |
void |
onNunchukInsertedEvent(NunchukInsertedEvent e)
This is the method called when a NunchukInsertedEvent occurs. |
void |
onNunchukRemovedEvent(NunchukRemovedEvent e)
This is the method called when a NunchukRemovedEvent occurs. |
void |
onStatusEvent(StatusEvent e)
Method called on a status event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.awt.Robot robot
private static int DISPLAY_EACH_VALUE
private static int DUMP
private static int MOVE_MOUSE
private static int TEST_LEDS
private Wiimote wiimote
int dump
| Constructor Detail |
|---|
public Tests(Wiimote wim)
| Method Detail |
|---|
public void onButtonsEvent(WiimoteButtonsEvent e)
WiimoteListener
onButtonsEvent in interface WiimoteListenere - the buttonEvent with the last informations about the buttons
of the wiimote.public void onIrEvent(IREvent e)
WiimoteListener
onIrEvent in interface WiimoteListenere - the IREvent with the IR points seen.public void onMotionSensingEvent(MotionSensingEvent e)
WiimoteListener
onMotionSensingEvent in interface WiimoteListenere - the motion sensing event with orientation and acceleration.public void onExpansionEvent(ExpansionEvent e)
WiimoteListener
onExpansionEvent in interface WiimoteListenere - the expansion event occured.public void onStatusEvent(StatusEvent e)
WiimoteListener
onStatusEvent in interface WiimoteListenere - the status event.public void onDisconnectionEvent(DisconnectionEvent e)
WiimoteListener
onDisconnectionEvent in interface WiimoteListenere - the disconnection event.public void onNunchukInsertedEvent(NunchukInsertedEvent e)
WiimoteListener
onNunchukInsertedEvent in interface WiimoteListenere - the NunchukInsertedEvent.public void onNunchukRemovedEvent(NunchukRemovedEvent e)
WiimoteListener
onNunchukRemovedEvent in interface WiimoteListenere - the NunchukRemovedEvent.public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||